import http from '@/api/request';

// 会员信息
export const getMemberInfo = () => {
  return http.request({
    method: 'GET',
    url: '/app/member/info',
  });
};

// 会员资产信息
export const getMemberAssetsInfo = () => {
  return http.request({
    method: 'GET',
    url: '/app/member/assets',
  });
};

// 会员团队
export const getMyTeam = (page: number, limit: number, layer: number, key: string) => {
  return http.request({
    method: 'GET',
    url: '/app/member/team',
    params: { page_size: limit, page: page, layer: layer, key: key },
  });
};
